decisions in python